PKGNAME = Jalali-applet
VERSION= 1.6.1
PYTHON=python
PKGDIR = /usr/share/jcalendar


install:
	mkdir -p $(DESTDIR)$(PKGDIR)
	mkdir -p $(DESTDIR)$(PKGDIR)/date

	install -m644 COPYING $(DESTDIR)$(PKGDIR)/.
	install -m755 src/*.py $(DESTDIR)$(PKGDIR)/.
	install -m644 src/1386.xml $(DESTDIR)$(PKGDIR)/.
	install -m644 src/*.glade $(DESTDIR)$(PKGDIR)/.
	install -m644 src/GNOME_PyJcalendarApplet.server $(DESTDIR)/usr/lib/bonobo/servers
	install -m644 pixmaps/date/*.png $(DESTDIR)$(PKGDIR)/date/.
	install -m644 pixmaps/*.png $(DESTDIR)$(PKGDIR)/.
	chmod +x $(DESTDIR)$(PKGDIR)/jcalendar.py
